package com.changyinBus.system.service.impl;

import com.changyinBus.common.core.domain.entity.SysTransfer;
import com.changyinBus.system.mapper.SysTransferMapper;
import com.changyinBus.system.service.ISysTransferService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysTransferServiceImpl implements ISysTransferService {
    @Resource
    private SysTransferMapper sysTransferMapper;

    @Override
    public void insertTransfer(SysTransfer transfer) {
        sysTransferMapper.insertTransfer(transfer);
    }

    @Override
    public void updateTransfer(SysTransfer transfer) {
        sysTransferMapper.updateTransfer(transfer);
    }

    @Override
    public List<SysTransfer> selectTransferList(SysTransfer transfer) {
        return sysTransferMapper.selectTransferList(transfer);
    }

    @Override
    public int getCount() {
        return sysTransferMapper.getCount();
    }

    @Override
    public int getAmount() {
        return sysTransferMapper.getAmount();
    }
}
